package online.foxnull2.foxmall.seckill.service;

import online.foxnull2.foxmall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

public interface SeckillService {
    void uploadSeckillSku();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSeckillInfoBySkuId(Long skuId);

    String seckill(String seckillId, String code, Integer num);
}
